Skip to content

Fix Chapter 8 Practice Set Problem 4 slicing logic#47

Open
CodeAurelius0 wants to merge 2 commits into
CodeWithHarry:mainfrom
CodeAurelius0:main
Open

Fix Chapter 8 Practice Set Problem 4 slicing logic#47
CodeAurelius0 wants to merge 2 commits into
CodeWithHarry:mainfrom
CodeAurelius0:main

Conversation

@CodeAurelius0

Copy link
Copy Markdown

This PR fixes the implementation of the string slicing function in Chapter 8 Practice Set Problem 4.

What changed
Corrected the substring logic so the function returns the intended slice.
Updated the example usage to demonstrate the expected output.
Result
The program now prints:
hu Sri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant